import { request } from '../../utils/request'

// 获取所有权限点
export const home = {
  Detail: () => {
    return request({ url: '/adminapp/index' })
  },
  UvDetail: day => {
    return request({ url: '/adminapp/uv-detail?day=' + day })
  },
  goodsDetail: limit => {
    return request({ url: '/adminapp/goods-rankings?page=1&limit=' + limit })
  },
  drainageRanking: () => {
    return request({ url: '/adminapp/drainage-ranking?page=1' })
  },
  couponDetail: () => {
    return request({ url: '/adminapp/coupon-situation' })
  },
  
}
